]> dgit.raspbian.org Git - gnome-shell.git/commit
st/entry: Forward label-actor to internal ClutterText
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 26 Jun 2025 10:07:07 +0000 (12:07 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 28 Jun 2025 10:32:43 +0000 (12:32 +0200)
commitb5be7c868883f605643f570a59ed2007aad192be
tree9001202b5dbd1209a5b5adb9bea9e973447cb39e
parente2970479acb174e62e3a2bb54eb3253bc42bdb62
st/entry: Forward label-actor to internal ClutterText

The StWidget:label-actor property is a convenient way of setting up an
actor's labelled-by relationship. However on StEntry, it is currently
fairly useless because if the entry is focused, the actual keyboard
focus will be on the internal ClutterText rather than the entry itself,
and orca ignores ancestors in most cases.

Address this by tracking the entry's label-actor property, and replicate
the labelled-by relationship on the internal ClutterText actor.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3179>
(cherry picked from commit 38a28b9bd4abbdcd096af3685be01eb937923fce)
src/st/st-entry.c